this is site2 index<br/>
<input type="button" onclick="visitMain()" value="visit main page" />
<script>
function visitMain(){
	window.location.href="http://www.site2.com/main.html";
}
</script>